<!doctype html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="x-ua-compatible" content="ie=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="A simple jQuery plugin for picking provinces, cities and districts of China.">
    <meta name="keywords"
          content="中国, 省份, 城市, 行政区, 省市区县, 四级联动, 地址选择器, HTML, CSS, JS, JavaScript, jQuery plugin, province, city, district, pick, picker, picking, front-end, frontend, web development">
    <meta name="author" content="Tao Shi">
    <title>city-picker</title>
    <link href="css/city-picker.css" rel="stylesheet">
    <link href="css/main.css" rel="stylesheet">

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
    <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>
<body>



    <h3>Custom Province / City / District</h3>
    <h5>HTML:</h5>
    <pre class="prettyprint">&lt;div style="position: relative;"&gt;&lt;!-- container --&gt;
  &lt;input readonly type="text" data-toggle="city-picker" value="广东/广州市/番禺区/石楼镇"&gt;
&lt;/div&gt;</pre>

    <h5>Demo:</h5>

    <form class="form-inline">
        <div style="position: relative;">
			<input id="addrValue" name="addrValue" type="hidden" value="">
            <input type="text" id="addrName" name="addrName" placeholder="点击选择省/市/区/县" value="重庆/重庆城区/巴南区" readonly data-toggle="city-picker" class="form-control">
        </div>
    </form>
    <br>
	<input type="button" value="test" onclick="alert($('#addrName').val())">


<!-- Scripts -->
<script src="http://cdn.bootcss.com/jquery/1.11.3/jquery.js"></script>
<script src="js/city-picker-simple.js"></script>
<script type="java/script">

</script>
</body>
</html>
